package com.gourd.web.feign;

import com.gourd.common.data.BaseResponse;
import org.springframework.stereotype.Component;

/**
 * @author gourd
 */
@Component
public class RemoteHystrix implements RemoteClient {

    @Override
    public BaseResponse testServerG() {
        return BaseResponse.failure("FeignClient测试Get请求失败，请稍后再试");
    }

    @Override
    public BaseResponse testServerP() {
        return BaseResponse.failure("FeignClient测试Post请求失败，请稍后再试");
    }
}
